package com.aimee.entity;

import jxl.write.DateTime;

import java.util.Date;

//考试记录
public class ExamRecord {
    int exam_id;//考试id
    int examrecord_id;//考试记录id
    int user_id;//参考学生id
    int course_id;//课程分类id
    String exam_name;//考试名
    int exampaper_id;//试卷id
    int exampaper_score;//考试试卷分数
    String exam_state;//考试状态
    int exam_time_limit;//考试限制时间
    Date exam_start_date;//考试开始时间
    Date exam_end_date;//考试结束时间
     int exampaper_passscore;//试卷及格分
    String exam_time;//学生考试时间DateTime
    int  exam_usetime;//学生考试用时
    int  exam_score;//学生考试得分

    public ExamRecord() {
        super();
    }

    public ExamRecord(int exam_id, int examrecord_id, int user_id, int course_id, String exam_name, int exampaper_id, int exampaper_score, String exam_state, int exam_time_limit, Date exam_start_date, Date exam_end_date, int exampaper_passscore, String exam_time, int exam_usetime, int exam_score) {
        this.exam_id = exam_id;
        this.examrecord_id = examrecord_id;
        this.user_id = user_id;
        this.course_id = course_id;
        this.exam_name = exam_name;
        this.exampaper_id = exampaper_id;
        this.exampaper_score = exampaper_score;
        this.exam_state = exam_state;
        this.exam_time_limit = exam_time_limit;
        this.exam_start_date = exam_start_date;
        this.exam_end_date = exam_end_date;
        this.exampaper_passscore = exampaper_passscore;
        this.exam_time = exam_time;
        this.exam_usetime = exam_usetime;
        this.exam_score = exam_score;
    }

    public int getExampaper_passscore() {
        return exampaper_passscore;
    }

    public void setExampaper_passscore(int exam_passscore) {
        this.exampaper_passscore = exam_passscore;
    }

    public int getExam_id() {
        return exam_id;
    }

    public void setExam_id(int exam_id) {
        this.exam_id = exam_id;
    }

    public int getExamrecord_id() {
        return examrecord_id;
    }

    public void setExamrecord_id(int examrecord_id) {
        this.examrecord_id = examrecord_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public int getExampaper_id() {
        return exampaper_id;
    }

    public void setExampaper_id(int exampaper_id) {
        this.exampaper_id = exampaper_id;
    }

    public String getExam_name() {
        return exam_name;
    }

    public void setExam_name(String exam_name) {
        this.exam_name = exam_name;
    }

    public Date getExam_start_date() {
        return exam_start_date;
    }

    public void setExam_start_date(Date exam_start_date) {
        this.exam_start_date = exam_start_date;
    }

    public Date getExam_end_date() {
        return exam_end_date;
    }

    public void setExam_end_date(Date exam_end_date) {
        this.exam_end_date = exam_end_date;
    }

    public int getExam_time_limit() {
        return exam_time_limit;
    }

    public void setExam_time_limit(int exam_time_limit) {
        this.exam_time_limit = exam_time_limit;
    }

    public int getExampaper_score() {
        return exampaper_score;
    }

    public void setExampaper_score(int exampaper_score) {
        this.exampaper_score = exampaper_score;
    }

    public String getExam_state() {
        return exam_state;
    }

    public void setExam_state(String exam_state) {
        this.exam_state = exam_state;
    }

    public String getExam_time() {
        return exam_time;
    }

    public void setExam_time(String exam_time) {
        this.exam_time = exam_time;
    }

    public int getExam_usetime() {
        return exam_usetime;
    }

    public void setExam_usetime(int exam_usetime) {
        this.exam_usetime = exam_usetime;
    }

    public int getExam_score() {
        return exam_score;
    }

    public void setExam_score(int exam_score) {
        this.exam_score = exam_score;
    }

    @Override
    public String toString() {
        return "ExamRecord{" +
                "exam_id=" + exam_id +
                ", examrecord_id=" + examrecord_id +
                ", user_id=" + user_id +
                ", course_id=" + course_id +
                ", exam_name='" + exam_name + '\'' +
                ", exampaper_id=" + exampaper_id +
                ", exampaper_score=" + exampaper_score +
                ", exam_state='" + exam_state + '\'' +
                ", exam_time_limit='" + exam_time_limit + '\'' +
                ", exam_start_date=" + exam_start_date +
                ", exam_end_date=" + exam_end_date +
                ", exam_passscore=" + exampaper_passscore +
                ", exam_time='" + exam_time + '\'' +
                ", exam_usetime='" + exam_usetime + '\'' +
                ", exam_score=" + exam_score +
                '}';
    }
}
